package com.shanjupay.common.web;

import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoman
 * @version 1.0
 * @date 2021/6/20 20:06
 */
@Data
@ApiModel(value = "BaseRequest",description = "统一请求对象")
public class BaseRequest<T> {

    @NotNull(message ="应用ID不能为空!")
    @ApiModelProperty(value="应用ID",name="appId")
    private String appId;

    @ApiModelProperty(value="请求数据体",name="body")
    private T body;


}
